

<ul>
    
    <li><a href="<?php echo base_url() ;?>index.php/home" >Home</a> </li>

    <li><a href="<?php echo $frontend; ?>about" >About Us</a></li>
    <li><a href="<?php echo $frontend; ?>services" >Service</a></li>

    <li class="menu_product"><a href="<?php echo $frontend; ?>products" class="drop">Products</a><!-- Begin 4 columns Item -->
    
        <div class="dropdown"><!-- Begin 4 columns container -->
        
            <div class="col_4">
                <h2>This is a heading title</h2>
            </div>
            <div class="clear"></div>
           
            <?php for($i=0; $i<5; $i++ ){
                echo '<div class="col_1"><ul>';
                foreach ($categories as $key => $cate) {
                    if(($key>=$i*4)and($key<=3+ $i*4)){
                    echo '<li><a href="'.$frontend.'categories/'.$cate['category_id'].'">'.$cate['category_name'].'</a></li>';
                    }
                } 
                echo '</ul></div>';

            };?>           
    
           
            
        </div><!-- End 4 columns container -->
    
    </li>

	<li><a href="<?php echo $frontend; ?>blog">Blog</a> </li>
    <li><a href="<?php echo $frontend; ?>news" >News</a></li>

    <li><a href="<?php echo $frontend; ?>contact" >Contact</a></li>


</ul>
